package com.zhanglinfeng.api.response;

import java.io.Serializable;

public class ResultResponse<T> implements Serializable {

    private int code = 200;
    private String message = "success";
    private T data;

    public int getCode() {
        return this.code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return this.data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public ResultResponse() {

    }
}
